package com.laowang.project.system.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.laowang.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 副牌管理对象 my_cyh_mark
 *
 * @author laowang
 * @date 2023-05-05
 */
@NoArgsConstructor
@Data
public class MyCyhMark implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "${comment}", required = false)
    private Integer id;

    /**
     * 车标号码
     */
    @Excel(name = "车标号码")
    @ApiModelProperty(value = "车标号码", required = false)
    private String number;

    @Transient
    private String realName;

    @Transient
    private String phone;

    /**
     * 绑定的用户
     */
    @Excel(name = "绑定的用户")
    @ApiModelProperty(value = "绑定的用户", required = false)
    private Integer userId;

    /**
     * 是否绑定
     */
    @Excel(name = "是否绑定")
    @ApiModelProperty(value = "是否绑定", required = false)
    private Integer status;

    private String carId;

    /**
     * 特殊号码
     */
    @Excel(name = "特殊号码")
    @ApiModelProperty(value = "特殊号码", required = false)
    private Integer isgood;


    private Integer typePower;//'1油,2电'


    /**
     * 选择时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "选择时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "选择时间", required = false)
    private Date natime;



}
